package com.txts.road.app.vehicle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.event.model.query.VehicleQuery;
import com.txts.road.app.vehicle.model.entity.VehicleEntity;
import com.txts.road.app.vehicle.model.vo.VehicleVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 版本更新Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:48
 */
@Mapper
public interface VehicleMapper extends BaseMapper<VehicleEntity> {

    /**
     * 获取版本更新分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<VehicleVO>} 版本更新分页列表
     */
    Page<VehicleVO> getVehiclePage(Page<VehicleVO> page, VehicleQuery queryParams);

}
